package cn.lijida.weiwei.favor.modules.sys.service;

import com.baomidou.mybatisplus.extension.service.IService;

import cn.lijida.weiwei.favor.modules.sys.entity.FavorToken;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author jobob
 * @since 2019-12-29
 */
public interface IFavorTokenService extends IService<FavorToken> {

	/**  
	 * <p>Title: getMemberId</p>  
	 * <p>Description: 根据token和deviceid查询登录用户信息</p>  
	 * @param token
	 * @param deviceId
	 * @return  
	 */  
	Long getMemberId(String token, String deviceId);

	/**  
	 * <p>Title: logout</p>  
	 * <p>Description: 退出登录</p>  
	 * @param loginId  
	 */  
	void logout(String token, String deviceId);

}
